#!/bin/sh
PROJECT_PATH=`cd ..;pwd`
TIME_VERSION=`date +"%Y-%m-%d.%H%M"`
cd ${PROJECT_PATH}
rm -rf output
mkdir output
cd output
mkdir ROOT
cd ROOT
mkdir WEB-INF
cd WEB-INF
mkdir classes
cd classes
cp -r ${PROJECT_PATH}/bin/com .
FILE_NAME=comclasses.${TIME_VERSION}.zip
zip -r ${FILE_NAME} com/
upload2TestEnv.sh ${FILE_NAME}